.class public Lcom/xingbook/park/fragment/HomeLeyuanFragment;
.super Lcom/xingbook/park/fragment/BaseFragment;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/xingbook/park/fragment/r;


# instance fields
.field private a:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/park/fragment/BaseFragment;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    sget-object v0, Lcom/xingbook/c/n;->e:Lcom/xingbook/b/a;

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/b/a;->b(Landroid/content/res/Resources;)Landroid/graphics/Bitmap;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->a:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :cond_0
    return-void
.end method

.method public c()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u4e3b\u754c\u9762-\u5b66\u4e60\u4e50\u56ed"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public e()V
    .locals 0

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 9

    const/4 v0, 0x0

    invoke-virtual {p0}, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    if-nez v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v2

    packed-switch v2, :pswitch_data_0

    :goto_1
    if-eqz v0, :cond_0

    invoke-virtual {p0, v0}, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040026

    const v2, 0x7f040027

    invoke-virtual {v1, v0, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    goto :goto_0

    :pswitch_0
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/xingbook/activity/XingBookMainActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_1

    :pswitch_1
    invoke-static {v1}, Lcom/xingbook/huiben/activity/HuibenMainActivity;->a(Landroid/content/Context;)V

    goto :goto_1

    :pswitch_2
    const/16 v2, 0x50

    invoke-static {v1, v2}, Lcom/xingbook/audio/activity/XingAudioMainActivity;->a(Landroid/content/Context;I)V

    goto :goto_1

    :pswitch_3
    const/16 v2, 0x40

    invoke-static {v1, v2}, Lcom/xingbook/audio/activity/XingAudioMainActivity;->a(Landroid/content/Context;I)V

    goto :goto_1

    :pswitch_4
    invoke-static {v1}, Lcom/xingbook/cinema/activity/XingVideoMainActivity;->a(Landroid/content/Context;)V

    goto :goto_1

    :pswitch_5
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/baike/activity/XingBaikeMainActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_1

    :pswitch_6
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/paint/PaintGameAct;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto :goto_1

    :pswitch_7
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/park/activity/WebAct;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "title"

    const-string v3, "\u661f\u5b9d\u5546\u57ce"

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v2, "jsEnabled"

    const/4 v3, 0x1

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string v2, "finishAni"

    const/4 v3, 0x5

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string v2, "url"

    const-string v3, "http://app2.xingbook.com//store/goods.html"

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v2, "optionTitle"

    const-string v3, "\u6211\u7684\u8ba2\u5355"

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v4

    invoke-virtual {v4}, Lcom/xingbook/c/j;->d()J

    move-result-wide v4

    new-instance v6, Ljava/lang/StringBuilder;

    const-string v7, "http://app2.xingbook.com/store/myOrders.do"

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, "?u="

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "&t="

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v6

    const-string v7, "&c="

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    new-instance v7, Ljava/lang/StringBuilder;

    const-string v8, "wx7b44c2f05cfcf1be"

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const/16 v8, 0x60

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v4

    const/16 v5, 0x2a

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcn/a/a/d/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v6, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "optionUrl"

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v2, "titleColor"

    const v3, -0x17575

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    goto/16 :goto_1

    :pswitch_8
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/group/activity/GroupDetailActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "com.xingbook.group.activity.INTENT_GROUPID"

    const-string v3, "74458a07325a45889aa22d7094d39bdf"

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto/16 :goto_1

    :pswitch_9
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/group/activity/GroupTopicDetail;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "com.xingbook.group.activity.GroupTopicDetail.INTENT_TOPICID"

    const-string v3, "f1404fa5f6c740d8aeb76f46f183d8f9"

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto/16 :goto_1

    :pswitch_a
    new-instance v0, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/park/activity/MyLeyuanActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    goto/16 :goto_1

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
    .end packed-switch
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 31

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v10

    invoke-static {v10}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v11

    new-instance v12, Lcom/xingbook/ui/XbLayout;

    invoke-direct {v12, v10}, Lcom/xingbook/ui/XbLayout;-><init>(Landroid/content/Context;)V

    invoke-static {v10}, Lcom/xingbook/c/n;->f(Landroid/app/Activity;)F

    move-result v5

    const v4, 0x439b8000

    mul-float/2addr v4, v5

    float-to-int v4, v4

    const/high16 v6, 0x4296

    mul-float/2addr v6, v5

    float-to-int v6, v6

    sub-int v7, v11, v4

    div-int/lit8 v7, v7, 0x2

    const/high16 v8, 0x421c

    mul-float/2addr v8, v5

    float-to-int v8, v8

    new-instance v9, Landroid/view/View;

    invoke-direct {v9, v10}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    const v13, 0x7f0201e3

    invoke-virtual {v9, v13}, Landroid/view/View;->setBackgroundResource(I)V

    add-int/2addr v4, v7

    add-int/2addr v6, v8

    invoke-virtual {v9, v7, v8, v4, v6}, Landroid/view/View;->layout(IIII)V

    invoke-virtual {v12, v9}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    new-instance v4, Landroid/widget/ImageView;

    invoke-direct {v4, v10}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    move-object/from16 v0, p0

    iput-object v4, v0, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->a:Landroid/widget/ImageView;

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->a:Landroid/widget/ImageView;

    const/16 v6, 0xb

    invoke-virtual {v4, v6}, Landroid/widget/ImageView;->setId(I)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->a:Landroid/widget/ImageView;

    move-object/from16 v0, p0

    invoke-virtual {v4, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->a:Landroid/widget/ImageView;

    sget-object v6, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v4, v6}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    const v4, 0x44374000

    mul-float/2addr v4, v5

    float-to-int v4, v4

    const/high16 v6, 0x42e6

    mul-float/2addr v6, v5

    float-to-int v6, v6

    const/high16 v7, 0x4140

    mul-float/2addr v7, v5

    float-to-int v7, v7

    move-object/from16 v0, p0

    iget-object v8, v0, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->a:Landroid/widget/ImageView;

    sub-int v9, v4, v6

    add-int/2addr v6, v7

    invoke-virtual {v8, v9, v7, v4, v6}, Landroid/widget/ImageView;->layout(IIII)V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->a:Landroid/widget/ImageView;

    invoke-virtual {v12, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->a()V

    new-instance v4, Landroid/widget/ImageView;

    invoke-direct {v4, v10}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const v6, 0x7f02023b

    invoke-virtual {v4, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    const/16 v6, 0xb

    invoke-virtual {v4, v6}, Landroid/widget/ImageView;->setId(I)V

    move-object/from16 v0, p0

    invoke-virtual {v4, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    sget-object v6, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v4, v6}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    const v6, 0x44388000

    mul-float/2addr v6, v5

    float-to-int v6, v6

    const/high16 v7, 0x42f8

    mul-float/2addr v7, v5

    float-to-int v7, v7

    const/high16 v8, 0x420c

    mul-float/2addr v8, v5

    float-to-int v8, v8

    const/high16 v9, 0x42d4

    mul-float/2addr v9, v5

    float-to-int v9, v9

    sub-int v7, v6, v7

    add-int/2addr v8, v9

    invoke-virtual {v4, v7, v9, v6, v8}, Landroid/widget/ImageView;->layout(IIII)V

    invoke-virtual {v12, v4}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    new-instance v6, Landroid/view/View;

    invoke-direct {v6, v10}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    const v4, -0x3a3a3b

    invoke-virtual {v6, v4}, Landroid/view/View;->setBackgroundColor(I)V

    const/4 v7, 0x0

    const/high16 v4, 0x4319

    mul-float/2addr v4, v5

    float-to-int v8, v4

    const/high16 v4, 0x4319

    mul-float v9, v4, v5

    const/high16 v13, 0x4000

    const/high16 v4, 0x3f80

    cmpl-float v4, v5, v4

    if-lez v4, :cond_0

    move v4, v5

    :goto_0
    mul-float/2addr v4, v13

    add-float/2addr v4, v9

    float-to-int v4, v4

    invoke-virtual {v6, v7, v8, v11, v4}, Landroid/view/View;->layout(IIII)V

    invoke-virtual {v12, v6}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    const/high16 v4, 0x434f

    mul-float/2addr v4, v5

    float-to-int v9, v4

    const/high16 v4, 0x41e0

    mul-float/2addr v4, v5

    float-to-int v13, v4

    const/high16 v4, 0x438c

    mul-float/2addr v4, v5

    float-to-int v14, v4

    const/high16 v4, 0x4258

    mul-float/2addr v4, v5

    float-to-int v6, v4

    const/high16 v4, 0x4284

    mul-float/2addr v4, v5

    float-to-int v15, v4

    mul-int/lit8 v4, v6, 0x2

    sub-int v4, v11, v4

    mul-int/lit8 v7, v15, 0x2

    sub-int/2addr v4, v7

    div-int/lit8 v16, v4, 0x3

    div-int/lit8 v17, v16, 0x2

    const/high16 v4, 0x4280

    mul-float/2addr v4, v5

    float-to-int v7, v4

    const/high16 v4, 0x42be

    mul-float/2addr v4, v5

    float-to-int v0, v4

    move/from16 v18, v0

    mul-int/lit8 v4, v7, 0x2

    sub-int v4, v11, v4

    mul-int/lit8 v8, v18, 0x2

    sub-int/2addr v4, v8

    div-int/lit8 v19, v4, 0x3

    const/high16 v4, 0x41c8

    mul-float/2addr v4, v5

    float-to-int v0, v4

    move/from16 v20, v0

    const/high16 v4, 0x4208

    mul-float v21, v4, v5

    invoke-virtual/range {p0 .. p0}, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v22

    const/16 v4, 0x9

    new-array v0, v4, [Ljava/lang/String;

    move-object/from16 v23, v0

    const/4 v4, 0x0

    const-string v5, "\u661f\u5b9d\u4e66"

    aput-object v5, v23, v4

    const/4 v4, 0x1

    const-string v5, "\u661f\u5988\u7ed8\u672c"

    aput-object v5, v23, v4

    const/4 v4, 0x2

    const-string v5, "\u661f\u5b9d\u542c\u542c"

    aput-object v5, v23, v4

    const/4 v4, 0x3

    const-string v5, "\u661f\u5b9d\u513f\u6b4c"

    aput-object v5, v23, v4

    const/4 v4, 0x4

    const-string v5, "\u661f\u5b9d\u5f71\u9662"

    aput-object v5, v23, v4

    const/4 v4, 0x5

    const-string v5, "\u661f\u5b9d\u767e\u79d1"

    aput-object v5, v23, v4

    const/4 v4, 0x6

    const-string v5, "\u661f\u5b9d\u753b\u677f"

    aput-object v5, v23, v4

    const/4 v4, 0x7

    const-string v5, "\u661f\u5b9d\u5546\u57ce"

    aput-object v5, v23, v4

    const/16 v4, 0x8

    const-string v5, "\u661f\u5b9d\u6d3b\u52a8"

    aput-object v5, v23, v4

    const/16 v4, 0x9

    new-array v0, v4, [I

    move-object/from16 v24, v0

    fill-array-data v24, :array_0

    const/16 v4, 0x9

    new-array v0, v4, [I

    move-object/from16 v25, v0

    fill-array-data v25, :array_1

    const/4 v8, 0x0

    const/4 v4, 0x0

    move/from16 v30, v4

    move v4, v9

    move/from16 v9, v30

    :goto_1
    const/4 v5, 0x6

    if-lt v9, v5, :cond_1

    const/4 v5, 0x6

    move/from16 v30, v5

    move v5, v4

    move v4, v8

    move/from16 v8, v30

    :goto_2
    const/16 v9, 0x9

    if-lt v8, v9, :cond_4

    add-int v4, v5, v14

    const/4 v5, 0x1

    iput-boolean v5, v12, Lcom/xingbook/ui/XbLayout;->b:Z

    const/4 v5, 0x0

    const/4 v7, 0x0

    add-int/2addr v4, v6

    invoke-virtual {v12, v5, v7, v11, v4}, Lcom/xingbook/ui/XbLayout;->layout(IIII)V

    new-instance v4, Landroid/widget/ScrollView;

    invoke-direct {v4, v10}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/widget/ScrollView;->setScrollContainer(Z)V

    new-instance v5, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v7, -0x1

    invoke-direct {v5, v6, v7}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v4, v5}, Landroid/widget/ScrollView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v4, v12}, Landroid/widget/ScrollView;->addView(Landroid/view/View;)V

    return-object v4

    :cond_0
    const/high16 v4, 0x3f80

    goto/16 :goto_0

    :cond_1
    rem-int/lit8 v5, v9, 0x3

    if-nez v5, :cond_3

    if-lez v9, :cond_2

    add-int/2addr v4, v14

    :cond_2
    move v5, v4

    move v4, v6

    :goto_3
    new-instance v8, Lcom/xingbook/ui/ad;

    invoke-direct {v8, v10}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    add-int/lit8 v26, v9, 0x1

    move/from16 v0, v26

    invoke-virtual {v8, v0}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    invoke-virtual {v8, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/16 v26, 0x1

    move/from16 v0, v26

    iput-boolean v0, v8, Lcom/xingbook/ui/ad;->w:Z

    const/16 v26, 0x1

    move/from16 v0, v26

    iput-boolean v0, v8, Lcom/xingbook/ui/ad;->p:Z

    aget v26, v24, v9

    move-object/from16 v0, v22

    move/from16 v1, v26

    invoke-static {v0, v1}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v26

    move-object/from16 v0, v26

    iput-object v0, v8, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    aget v26, v25, v9

    move/from16 v0, v26

    iput v0, v8, Lcom/xingbook/ui/ad;->i:I

    move/from16 v0, v17

    int-to-float v0, v0

    move/from16 v26, v0

    move/from16 v0, v26

    iput v0, v8, Lcom/xingbook/ui/ad;->j:F

    const v26, -0x33ffec

    move/from16 v0, v26

    invoke-virtual {v8, v0}, Lcom/xingbook/ui/ad;->setHilighted(I)V

    add-int v26, v4, v16

    add-int v27, v5, v16

    move/from16 v0, v26

    move/from16 v1, v27

    invoke-virtual {v8, v4, v5, v0, v1}, Lcom/xingbook/ui/ad;->layout(IIII)V

    invoke-virtual {v12, v8}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    new-instance v26, Lcom/xingbook/ui/ad;

    move-object/from16 v0, v26

    invoke-direct {v0, v10}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    const v8, -0xcccccd

    move-object/from16 v0, v26

    iput v8, v0, Lcom/xingbook/ui/ad;->b:I

    move/from16 v0, v21

    move-object/from16 v1, v26

    iput v0, v1, Lcom/xingbook/ui/ad;->c:F

    const/16 v8, 0x31

    move-object/from16 v0, v26

    iput v8, v0, Lcom/xingbook/ui/ad;->d:I

    aget-object v8, v23, v9

    move-object/from16 v0, v26

    iput-object v8, v0, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    div-int/lit8 v8, v6, 0x2

    sub-int v27, v4, v8

    add-int v8, v5, v16

    add-int v28, v8, v13

    add-int v8, v4, v16

    div-int/lit8 v4, v6, 0x2

    add-int/2addr v4, v8

    add-int v29, v5, v14

    move-object/from16 v0, v26

    move/from16 v1, v27

    move/from16 v2, v28

    move/from16 v3, v29

    invoke-virtual {v0, v1, v2, v4, v3}, Lcom/xingbook/ui/ad;->layout(IIII)V

    move-object/from16 v0, v26

    invoke-virtual {v12, v0}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    add-int/lit8 v4, v9, 0x1

    move v9, v4

    move v4, v5

    goto/16 :goto_1

    :cond_3
    add-int v5, v8, v15

    move/from16 v30, v5

    move v5, v4

    move/from16 v4, v30

    goto/16 :goto_3

    :cond_4
    rem-int/lit8 v9, v8, 0x3

    if-nez v9, :cond_5

    add-int v4, v5, v14

    move v5, v4

    move v4, v7

    :goto_4
    new-instance v9, Lcom/xingbook/ui/ad;

    invoke-direct {v9, v10}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    add-int/lit8 v15, v8, 0x1

    invoke-virtual {v9, v15}, Lcom/xingbook/ui/ad;->setId(I)V

    move-object/from16 v0, p0

    invoke-virtual {v9, v0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/4 v15, 0x1

    iput-boolean v15, v9, Lcom/xingbook/ui/ad;->w:Z

    const/4 v15, 0x1

    iput-boolean v15, v9, Lcom/xingbook/ui/ad;->p:Z

    aget v15, v24, v8

    move-object/from16 v0, v22

    invoke-static {v0, v15}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v15

    iput-object v15, v9, Lcom/xingbook/ui/ad;->m:Landroid/graphics/Bitmap;

    aget v15, v25, v8

    iput v15, v9, Lcom/xingbook/ui/ad;->i:I

    move/from16 v0, v20

    int-to-float v15, v0

    iput v15, v9, Lcom/xingbook/ui/ad;->j:F

    const v15, -0x33ffec

    invoke-virtual {v9, v15}, Lcom/xingbook/ui/ad;->setHilighted(I)V

    add-int v15, v4, v19

    add-int v16, v5, v19

    move/from16 v0, v16

    invoke-virtual {v9, v4, v5, v15, v0}, Lcom/xingbook/ui/ad;->layout(IIII)V

    invoke-virtual {v12, v9}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    new-instance v15, Lcom/xingbook/ui/ad;

    invoke-direct {v15, v10}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    const v9, -0xcccccd

    iput v9, v15, Lcom/xingbook/ui/ad;->b:I

    move/from16 v0, v21

    iput v0, v15, Lcom/xingbook/ui/ad;->c:F

    const/16 v9, 0x31

    iput v9, v15, Lcom/xingbook/ui/ad;->d:I

    aget-object v9, v23, v8

    iput-object v9, v15, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    div-int/lit8 v9, v6, 0x2

    sub-int v16, v4, v9

    add-int v9, v5, v19

    add-int v17, v9, v13

    add-int v9, v4, v19

    div-int/lit8 v4, v6, 0x2

    add-int/2addr v4, v9

    add-int v26, v5, v14

    move/from16 v0, v16

    move/from16 v1, v17

    move/from16 v2, v26

    invoke-virtual {v15, v0, v1, v4, v2}, Lcom/xingbook/ui/ad;->layout(IIII)V

    invoke-virtual {v12, v15}, Lcom/xingbook/ui/XbLayout;->addView(Landroid/view/View;)V

    add-int/lit8 v4, v8, 0x1

    move v8, v4

    move v4, v9

    goto/16 :goto_2

    :cond_5
    add-int v4, v4, v18

    goto :goto_4

    :array_0
    .array-data 0x4
        0xe9t 0x1t 0x2t 0x7ft
        0xdct 0x1t 0x2t 0x7ft
        0xddt 0x1t 0x2t 0x7ft
        0xdft 0x1t 0x2t 0x7ft
        0xdet 0x1t 0x2t 0x7ft
        0xd6t 0x1t 0x2t 0x7ft
        0xe1t 0x1t 0x2t 0x7ft
        0xe0t 0x1t 0x2t 0x7ft
        0xd5t 0x1t 0x2t 0x7ft
    .end array-data

    :array_1
    .array-data 0x4
        0xfft 0xbct 0x77t 0xfft
        0xc7t 0x93t 0xfft 0xfft
        0x66t 0xe2t 0x78t 0xfft
        0x3ct 0xd3t 0xfft 0xfft
        0xf7t 0xb7t 0xb7t 0xfft
        0xd6t 0xd7t 0x57t 0xfft
        0x4bt 0xdbt 0xbet 0xfft
        0x8bt 0x8at 0xfet 0xfft
        0x55t 0xa4t 0xfft 0xfft
    .end array-data
.end method

.method public onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/fragment/BaseFragment;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/support/v4/app/Fragment;)V

    invoke-virtual {p0}, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    return-void
.end method

.method public onResume()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/fragment/BaseFragment;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/support/v4/app/Fragment;)V

    invoke-virtual {p0}, Lcom/xingbook/park/fragment/HomeLeyuanFragment;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    return-void
.end method
